﻿@inherits LayoutComponentBase

<div class="error-content">
    <div class="error-wrapper text-center">
        <img src="@model.Image.ToBlazorLink()"/>
        <h1>'@model?.Content'</h1>
        <h3>'@model?.Detail'</h3>
    </div>
</div>

@code {
    protected ErrorModel? model;

    protected override void OnInitialized()
    {
        var id = 404;
        model = ErrorModel.CreateById(id);
    }
}
